//
//  DeviceUtil.h
//  Staff
//
//  Created by caiyao on 8/6/15.
//
//

#import <Foundation/Foundation.h>

enum {
    UIDevice_iPhoneStandardRes      = 1,    // iPhone 1,3,3GS Standard Resolution   (320x480px)
    UIDevice_iPhoneHiRes            = 2,    // iPhone 4,4S High Resolution          (640x960px)
    UIDevice_iPhoneTallerHiRes      = 3,    // iPhone 5 High Resolution             (640x1136px)
    UIDevice_iPadStandardRes        = 4,    // iPad 1,2 Standard Resolution         (1024x768px)
    UIDevice_iPadHiRes              = 5,    // iPad 3 High Resolution               (2048x1536px)
    // Added by Joe [4 May.2015]. for supporing iPhone6/6+
    UIDevice_iPhone6Res             = 6,    // iPhone 6 High Resolution             (750x1334px)
    UIDevice_iPhone6PlusRes         = 7     // iPhone 6+ High Resolution            (1242×2208px)
    // End by Joe [4 May.2015]
};
typedef NSUInteger UIDeviceResolution;


@interface DeviceUtil : NSObject


+ (UIDeviceResolution) currentResolution;

@end
